package com.mdxx.xczd.ui.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import com.mdxx.xczd.R;
import com.mdxx.xczd.utils.VersionUpdateUtil;
import butterknife.BindView;
import butterknife.ButterKnife;

public class AboutActivity extends AppCompatActivity {

    @BindView(R.id.tv_about_version)
    TextView mTvVersion;
    @BindView(R.id.tv_about_phone)
    TextView mTvPhone;
    @BindView(R.id.tv_about_email)
    TextView mTvEmail;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        ButterKnife.bind(this);
        init();
    }

    private void init(){
        mTvVersion.setText(VersionUpdateUtil.getCurrentVersionName(this));
    }
}
